<template>
  <div>
    <div class="blogsShow">
      <h1>博客主页展示</h1>
      <div class="block">
      <el-pagination class="page"
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
        :current-page.sync="currentPage3"
        :page-size="10"
        layout="prev, pager, next, jumper"
        :total="100">
      </el-pagination>
    </div>
  </div>
  </div>
</template>

<script>
export default {
  data()
  {
    return{
      num: 1,
      currentPage3: 1,
    };
  },
  methods: {
      handleSizeChange(val) {
        console.log(`每页 ${val} 条`);
      },
      handleCurrentChange(val) {
        console.log(`当前页: ${val}`);
      }
    }
}
</script>

<style scoped>
@keyframes show
{
  0%
  {
    opacity: 0;
  }
  100%
  {
    opacity: 1;
  }
}
  .blogsShow
  {
    width: 1200px;
    margin: 0px auto;
    ani
  }
  .blogsShow .page
  {
    width: 525px;
    margin: 0px auto;
  }
</style>